package d1203.r211.num05;

import java.util.Scanner;

public class Subject {
    public static void main(Number[] args) {
        System.out.println("请输入本学期所学的科目");
        Scanner sc=new Scanner(System.in);
        String[] arr=sc.nextLine().split(",");
        for (int i = 0; i <arr.length ; i++) {
            System.out.println(arr[i]+"");
        }
        System.out.println();
        for (int i = 0; i <arr.length ; i++) {
            System.out.println("请输入该科目成绩");
            Scanner sc1=new Scanner(System.in);
            System.out.println(arr[i]+"="+sc1.nextLine());
        }
    }
}